package com.online.dao.user;

import com.online.pojo.Bill;
import com.online.pojo.menu;
import com.online.pojo.merchant;
import java.util.List;

import java.sql.SQLException;

public interface merchantDao {
    public merchant select(String name) throws SQLException;
    public List<menu> select(List<menu> list,String shop_name) throws SQLException;
    public boolean del(int id) throws SQLException;
    public List<menu> select(List<menu> list,double price,String type,String name,String shop_name) throws SQLException;
    public menu select(menu menu,int id) throws SQLException;
    public boolean insert(String shop_name,int shopid,String user_name,double price,int pay);
    public boolean update(Bill bill) throws SQLException;
    public boolean insert(String name,String shop_name,double price,String type);
    public merchant selectUsername(String name) throws SQLException;

}
